<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>

    <link href="../../assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

    <link href="../../assets/global/plugins/jstree/dist/themes/default/style.min.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="../../assets/global/plugins/layui/css/layui.css"/>
    <link rel="stylesheet" href="../../assets/custom/css/change_form.css"/>
    <link rel="stylesheet" href="../../assets/custom/css/changeother.css"/>
    <style>
        .left_tree .control-label {
            font-size: 18px;
        }
        .jstree-default .jstree-anchor {
            line-height: 30px;
            height: 30px;
            font-family: Helvetica Neue,PingFang SC,Helvetica,Arial,Hiragino Sans GB,Microsoft Yahei,\\5FAE\8F6F\96C5\9ED1,STHeiti,\\534E\6587\7EC6\9ED1,sans-serif;
        }
        .jstree-default .jstree-wholerow {
            height: 30px;
        }
        .layui-elem-field legend {
            font-size: 22px;
        }
        legend {
            display: inherit;
            width: inherit;
            margin-bottom: 0;
            border-bottom: inherit;
        }
        .site-h1 {
            margin-bottom: 20px;
            line-height: 60px;
            padding-bottom: 10px;
            color: #393D49;
            border-bottom: 1px solid #eee;
            font-size: 28px;
            font-weight: 300;
        }
        .site-h3 {
            font-size: 18px;
            font-weight: 300;
        }
        .site-title {
            margin: 30px 0 20px;
        }
        .site-p {
            margin-bottom: 10px;
            line-height: 22px;
            font-size: 14px;
            margin-top: 10px;
        }
        .site-box {
            margin : 30px 0;
        }
        .container, .page-container {
            width: 1140px;
            padding: 0;
            margin: 0 auto;
        }
        .layui-head {
            height: 50px;
            position: fixed;
            width: 100%;
            left: 0;
            top: 0;
            z-index: 1500;
            line-height: 50px;
            background: #f7f5f5;;
        }
        .layui-head h1 {
            line-height: 50px;
            font-size: 25px;
        }
        .layui-page-content {
            height: calc(100% - 50px);
            margin-top: 50px;
        }
        .left_tree.left_doc {
            position: fixed;
            top: 50px;
            bottom: 0;
        }
    </style>
</head>
<body>
<div class="layui-head">
    <div class="container">
         <h1>dataevo数据</h1>

    </div>
</div>
<div class="layui-page-content">
    <div class="page-container">
        <div class="left_tree left_doc ">
            <form class="form-horizontal" role="form">
                <div class="form">
                    <label class="control-label">目录:</label>
                    <div class="left_tree_se">

                    </div>
                </div>
            </form>
            <!-- ======================================   tree开始  ====================================================== -->
            <div class="portlet-body">
                <div id="tree_3" >
                </div>
            </div>
            <!-- ======================================   tree结束  ====================================================== -->
        </div>
        <div class="right_tbale right_doc ">
            <div id="modelView">
                <h1 class="site-h1">模型视图</h1>

                <div id="modelViewName">
                    <!--<h2>所选模型名称</h2>-->
                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">所选模型名称</a></legend>
                    </fieldset>
                    <div id="modelViewNameEr" class="site-box">
                        <h3 class="site-h3">#er图</h3>
                    </div>
                    <div id="modelViewNameList" class="site-box">
                        <h3 class="site-h3">#表清单</h3>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div id="modelViewSubName">
                    <!--<h3 class="site-h3">1.2子模型-xxx</h3>-->
                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">子模型-xxx</a></legend>
                    </fieldset>
                    <div id="modelViewSubNameEr" class="site-box">
                        <h3 class="site-h3">#er图</h3>
                    </div>
                    <div id="modelViewSubNameList" class="site-box">
                        <h3 class="site-h3">#表清单</h3>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div id="database">
                <h1 class="site-h1">数据库对象</h1>

                <div id="databaseTable">

                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">表</a></legend>
                    </fieldset>
                    <div class="site-box" id="databaseTableOne" >
                        <h3 class="site-h3">#Table1(表1）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="site-box" id="databaseTableTwo">
                        <h3 class="site-h3">#Table2(表2）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div id="databaseTableView">

                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">视图</a></legend>
                    </fieldset>
                    <div class="site-box" id="databaseTableViewOne">
                        <h3 class="site-h3">#View1(表1）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="site-box" id="databaseTableViewTwo">
                        <h3 class="site-h3">#View2(表2）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div id="databaseThesaurus">

                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">同义词</a></legend>
                    </fieldset>
                    <div class="site-box" id="databaseThesaurusOne">
                        <h3 class="site-h3">#Table1(表1）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="site-box" id="databaseThesaurusTwo">
                        <h3 class="site-h3">#Table2(表2）</h3>
                        <p class="site-p">字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">索引</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">唯一键</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div id="databaseReference">

                    <fieldset class="layui-elem-field layui-field-title site-title">
                        <legend><a name="default">引用关系</a></legend>
                    </fieldset>
                    <div class="site-box" id="databaseReferenceOne">
                        <h3 class="site-h3">#关系代码1（中文名）</h3>
                        <p class="site-p">关联表</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">关联字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="site-box" id="databaseReferenceTwo">
                        <h3 class="site-h3">#关系代码2（中文名）</h3>
                        <p class="site-p">关联表</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                        <p class="site-p">关联字段</p>
                        <table class="layui-table layui-table-view">

                            <colgroup>
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col width="200">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>表中文名</th>
                                <th>表名</th>
                                <th>表名（含模式名）</th>
                                <th>类型</th>
                                <th>数据量(条）</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>表</td>
                                <td>100000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>视图</td>
                                <td>2000</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>同义词</td>
                                <td>15352</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>
    </div>

</div>

</body>
<script src="../../assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="../../assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

<script src="../../assets/global/plugins/jstree/dist/jstree.min.js" type="text/javascript"></script>


<script src="../../assets/global/plugins/layui/layui.all.js"></script>

<script>
    $(function () {
        //搜索框
        $("#tree_3").jstree({
            core: {
                themes: {
                    responsive: !1,
                    "icons": false,
                    "dots": false
                },
                check_callback: !0,
                data: [
                    {
                        text: "模型视图",
                        a_attr: {href: "modelView"},
                        'state': {
                            'opened': true,
                        },
                        children: [{
                            text: "总模型",
                            'state': {
                                'opened': true,
                            },
                            a_attr: {href: "modelViewName"},
                            children: [{text: "ER图", a_attr: {href: "modelViewNameEr"}}, {text: "表清单", a_attr: {href: "modelViewNameList"}}]
                        }, {
                            text: "子模型xxx",
                            a_attr: {href: "modelViewSubName"},
                            'state': {
                                'opened': true,
                            },
                            children: [{text: "ER图",a_attr: {href: "modelViewSubNameEr"}}, {text: "表清单",a_attr: {href: "modelViewSubNameList"}}]
                        }]
                    },
                    {
                        text: "数据库对象",
                        a_attr: {href: "database"},
                        'state': {
                            'opened': true,
                        },
                        children: [{
                            text: "表",
                            a_attr: {href: "databaseTable"},
                            'state': {
                                'opened': true,
                            },
                            children: [{text: "Table1(表1）",a_attr: {href: "databaseTableOne"}}, {text: "Table1(表2）",a_attr: {href: "databaseTableTwo"}}]
                        }, {
                            text: "视图",
                            'state': {
                                'opened': true,
                            },
                            a_attr: {href: "databaseTableView"},
                            children: [{text: "View1(视图1）",    a_attr: {href: "databaseTableViewOne"}}, {text: "View1(视图2）",    a_attr: {href: "databaseTableViewTwo"}}]
                        },
                            {
                                text: "同义词",
                                'state': {
                                    'opened': true,
                                },
                                a_attr: {href: "databaseThesaurus"},
                                children: [{text: "Table1(表1）",    a_attr: {href: "databaseThesaurusOne"}}, {text: "Table1(表2）",    a_attr: {href: "databaseThesaurusTwo"}}]
                            }, {
                                text: "引用关系",
                                'state': {
                                    'opened': true,
                                },
                                a_attr: {href: "databaseReference"},
                                children: [{text: "关系代码1（中文名）",  a_attr: {href: "databaseReferenceOne"}}, {text: "关系代码2（中文名）",  a_attr: {href: "databaseReferenceTwo"}}]
                            }
                        ]
                    },
                ]
            },
            plugins: ['wholerow']

        }).bind("activate_node.jstree", function (obj, e) {
            var currentNode = e.node;

            var targetContent = currentNode.a_attr.href;

            var distance = $("#" + targetContent).offset().top -60;
            var scrollTop = $(".right_tbale").scrollTop();

                $("html, body").animate({scrollTop: distance +scrollTop }, {duration: 500,easing: "linear"});


        });
    })
</script>
</html>